package com.wyl.auth.config.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2024/2/15 17:01
 */
@Data
@Configuration
@ConfigurationProperties(value = "minio")
public class MinioProperty {
    /**
     * 访问路径
     */
    private String endpoint;
    /**
     * 访问key
     */
    private String accessKey;
    /**
     * 密钥
     */
    private String secretKey;
    /**
     * 默认桶名
     */
    private String bucket;

    /**
     * 是否启动
     */
    private boolean enable = false;
}